package com.zhoux.basics;

import java.util.Scanner;

/**
 * @author taoyi.
 * @version 1.0
 * @date 2021/3/3 9:21
 *
 *
 */
public class CommandBySwitch {
    public static void main(String[] args) throws InterruptedException {
        Scanner in =new Scanner(System.in);
        System.out.print("请选择功能：1.存款 2.取款 3.查询 0.退出");
        int num = in.nextInt();
        switch (num){
            case 1:
                System.out.print("111");
                break;
            case 2:
                System.out.print("222");
                break;
            case 3:
                System.out.print("333");
                break;
            case 0:
                System.out.print("555");
                break;
            default:
                System.out.print("444");
                break;
        }


    }
}

